package whf.framework.web.file;

import java.io.OutputStream;

import javax.servlet.http.HttpServletRequest;

/**
 * @author wanghaifeng
 * @create Oct 2, 2006 8:53:51 AM
 * 
 */
public interface DownObject {
	public static final String DOWN_IE_OPEN = "ie";

	public static final String DOWN_SYS_SAVE = "save";
	
	public void createOutStream(OutputStream sos, HttpServletRequest request)
			throws Exception;

	public String getName();

	public String getContentType();

	public String getDownMode();

	public void setRequest(HttpServletRequest request);
}
